//
//  Gate.h
//  
//
//  Created by David Hsieh on 8/15/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Input.h"


@interface Gate : Input {

	int type, risingDelay, fallingDelay;
	NSMutableArray *outputs;
	NSArray *inputs;
	NSString *gateId;
	
	
	
	
	
}

- (bool) sense;
- (id) initWithInputs:(NSArray *)gateInputs;
- (NSMutableArray *)show;

@property (retain) NSArray* inputs;

@end
